<!DOCTYPE html>
<html lang="zh_CN" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="utf-8">
    <meta http-equiv="pragma" content="no-cache">
    <meta http-equiv="cache-control" content="no-cache">
    <meta http-equiv="expires" content="0">
    <title>监管系统</title>
    <link rel="shortcut icon"
          href="https://www.aioclinic.com/alioss-proxy/wenuan-oss-public/pc_img/website/logo/qzt_short.ico">
    <link th:href="@{/plugins/css/bootstrap.css(v=${version})}" rel="stylesheet">
    <link th:href="@{/plugins/css/jquery-ui.css(v=${version})}" rel="stylesheet">
    <link th:href="@{/css/weknow.css(v=${version})}" rel="stylesheet">
    <link th:href="@{/css/violationQuery.css(v=${version})}" rel="stylesheet">
    <link th:href="@{/css/boxImg.css(v=${version})}" rel="stylesheet">
</head>
<body>
<!-- 头部信息 -->
<div class="queryDiv">
    <div class="row">
        <div class="col-xs-12">
            <div class="form-inline">
                <div class="form-group">
                    审核日期：
                    <div class="input-group">
                        <input type="text" class="form-control my_date_control" style="ime-mode:active" maxlength="10"
                               id="dtFrom" th:value="${dtFrom}" autocomplete="off">
                    </div>

                </div>
                <div class="form-group">
                    --
                    <div class="input-group">
                        <input type="text" class="form-control my_date_control" style="ime-mode:active" maxlength="10"
                               id="dtTo" th:value="${dtTo}" autocomplete="off">
                    </div>
                </div>
                <div class="form-group margin-leftDiv">
                    违规类目：
                    <div class="input-group">
                        <select id="type" class="form-control">
                            <option value="">全部</option>
                            <option th:each="msg,userStat:${violationMessageList}" th:value="${msg.msgId}" th:text="${msg.title}"></option>
                        </select>
                    </div>
                </div>
                <div class="form-group margin-leftDiv">
                    医疗机构名称：
                    <div class="input-group">
                        <input type="text" class="form-control" style="ime-mode:inactive" id="institutionName"
                               autocomplete="off">
                    </div>
                </div>


                <div class="form-group">
                    <div class="input-group">
                        <button type="button" id="search" class="btn btn-primary" style="width:90px;">搜索</button>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
<div class="dataDiv">
    <table class="table table-condensed table-hover table-bordered" id="dataTable">
        <thead class="bg-default">
        <tr>
            <th class="text-center" style="width:3%;">序号</th>
            <th class="text-center" style="width:8%;">审核日期</th>
            <th class="text-center" style="width:15%;">医疗机构</th>
            <th class="text-center" style="width:10%;">违规类目</th>
            <th class="text-center" style="width:15%;">违规内容</th>
            <th class="text-center" style="width:5%;">处方图片</th>
            <th class="text-center" style="width:8%;">审核人员</th>
            <th class="text-center" style="width:8%;">上传人员</th>
            <th class="text-center" style="width:8%;">上传日期</th>
        </tr>
        </thead>
        <tbody id="tbodyViolateInstitutionList">

        </tbody>
    </table>
</div>
<div class="pageDiv">
    <div class="upPageDiv">上一页</div>
    <div>
        第
        <select class="pageSelect" id="selectPage">
            <option value="1">1</option>
        </select>
        <input type="hidden" id="pageNum" value="1">
        页
    </div>
    <div class="downPageDiv"><a href="">下一页</a></div>
    <div class="allPage">共1页</div>
    <div>
        <select class="limitSelect" id="pageSize">
            <option value="10">10</option>
            <option value="25">25</option>
            <option value="50">50</option>
            <option value="100">100</option>
        </select>
        条/页
    </div>
</div>
</body>

<script th:src="@{/js/jquery.min.js(v=${version})}"></script>
<script th:src="@{/js/weknow.js(v=${version})}"></script>
<script th:src="@{/plugins/js/wn-jquery-ui.js(v=${version})}"></script>
<script th:src="@{/plugins/js/wn-validator.js(v=${version})}"></script>
<script th:src="@{/js/loadCheck.js(v=${version})}"></script>
<script th:src="@{/js/violationQuery.js(v=${version})}"></script>
<script th:src="@{/js/showImg.js(v=${version})}"></script>
<!--载入页面时根据code值执行不同逻辑-->
<script th:if="${code}" th:inline="javascript">
    $(document).ready(function () {
        loadCheck([[${code}]], [[${msg}]]);
    });
</script>
</html>
